package vn.lumi.smarthome;

import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;

import android.app.Application;

public class LumiHome extends Application{
	public static Socket socket = new Socket();
	public static String LAN_ip = "";
	public static int LAN_port = 0;
	public static String DNS_address = "";
	public static int WAN_port = 0;
	public static InputStream is;
	public static OutputStream os;
	public static int Uid = 0;
	public static int Session_id = 0;
	public static int HC_Config_ver = 0;
	
	public static int SOCKET_OPENED = 1;
	public static int SOCKET_RECONNECTING = 2;
	public static int SOCKET_CLOSED = 3;
	
	public static int SocketState = SOCKET_OPENED;
	public static boolean isOSClosed = false;
	public static boolean isISClosed = false;
	
	public static int Timeout = 0;
//	public static String user = "";
	public static String password = "";
	public static String font = "helveticaneuelight.ttf";
	public static String fontBold = "helveticaneue.ttf";
	public static final int sizeTittle = 19;
	public static final int sizeContent = 17;
	public static final int sizeButton = 18;
	
}
